package com.sigmatrix.h5.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.sigmatrix.h5.entity.v2.DisDealer;

public interface DisDealerMapper extends SuperMapper<DisDealer> {

    
    DisDealer selectOneBySQL(@Param("id") Long id,@Param("tablePrefix")String tablePrefix);
    
    List<DisDealer> findParentsById(@Param("id") Long id,@Param("tablePrefix")String tablePrefix);
    
    List<DisDealer> findParentsByCode(@Param("code") String code,@Param("tablePrefix")String tablePrefix);

}